package com.ece750.client.channel;

public interface SocketListener {
  /** Called when the channel is opened. */
  void onOpen();

  /** Called when the channel receives a message from the server. */
  void onMessage(String message);

  /** Called when the channel receives an error. */
  void onError(SocketError error);

  /** Called when the channel is closed. */
  void onClose();
}

